package io.renren.modules.sys.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.sys.entity.Organization;
import io.renren.modules.sys.entity.OrganizationExample;
import io.renren.modules.sys.entity.SysMenuEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface OrganizationMapper extends BaseMapper<Organization> {
    int countByExample(OrganizationExample example);
    int deleteByExample(OrganizationExample example);
    int deleteByPrimaryKey(Long id);
    int insert(Organization record);
    int insertSelective(Organization record);
    List<Organization> selectByExample(OrganizationExample example);
    Organization selectByPrimaryKey(Long id);
    int updateByExampleSelective(@Param("record") Organization record, @Param("example") OrganizationExample example);
    int updateByExample(@Param("record") Organization record, @Param("example") OrganizationExample example);
    int updateByPrimaryKeySelective(Organization record);
    int updateByPrimaryKey(Organization record);
}